package com.hqx.oop.inheritance;

public class Test {
    public static void main(String[] args) {
        Student stu = new Student("hqx",'男',23,2021001,95,85,99);
        System.out.println(stu.getName());
        System.out.println(stu.getSex());
        System.out.println(stu.getAge());
        System.out.println(stu.avg());
        System.out.println(stu.max());
        System.out.println(stu.min());
    }
}
